package configs;

import java.io.IOException;
import java.util.Random;
import java.util.logging.FileHandler;
import java.util.logging.Logger;

import algorithm.NeuroGA2;
import jmetal.core.Algorithm;
import jmetal.core.Problem;
import jmetal.metaheuristics.nsgaII.NSGAII;
import jmetal.problems.ZDT.ZDT1;

public class Config {

	public static java.util.logging.Logger LOG = Logger.getLogger("InfoLogging");
	public static Random random = new Random(873);
	public static int populationSize = 10;
	public static int maxEvaluations = 2000;
	public static int dimension = 100;
	public static Problem problem = new ZDT1("ArrayReal", populationSize);	
	public static Algorithm algorithm = new /*NSGAII(problem);*/  NeuroGA2(problem); //
	public static String DIR = "Results/";
	public static double taxRNA = 1;
	
	public static void LoadConfigs() throws SecurityException, IOException
	{
		LOG.addHandler(new FileHandler("NeuroGA_log"));
		LOG.info("Start Program");
	}
	
	public static void EndConfigs()
	{
		LOG.info("End Program");
	}
	
	
}
